package com.swpu.zdl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.swpu.zdl.mapper.StudentMapper;
import com.swpu.zdl.pojo.Student;

import java.util.List;

public interface StudentService extends IService<Student> {
    List<Student> getAll();

    boolean addStudent(Student student);

    boolean deleteStudent(String sno);

    List<Student> getAllMsg();

    Boolean updateStudentMsg(String sno, Student student);

    Student getMsgBySno(String sno);

    List<Student> getByName(String name);
}
